package 策略模式.three;

/**
 * @author xuanjian
 * 红头鸭
 */
public class RedheadDuck extends Duck{

	public RedheadDuck() {
		flyBehavior = new FlyWithWings();
		quackBehavior = new Quack();
	}
	
	@Override
	void display() {
		System.out.println("外观：红头");

	}

	@Override
	void type() {
		System.out.println("种类：红头鸭");
		
	}
}
